Creates NSWindow object from Xojo Window.
The NSWindow class will handle retaining the object and releasing once the object NSWindow class is no longer used.
NSWindow Class